theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
library
{base}
Load an R package
ggplot
{GGPLOT2}
Create a ggplot graph
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
geom_smooth
{GGPLOT2}
Generates a smoothed conditional means curve / line
stargazer
{stargazer}
Create a regression output table
plotPlane
{rockchalk}
Draw a 3-D regression plot for two predictors
lm
{base}
Fit a linear model
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
setwd
{base}
Set Working Directory
read_dta
{haven}
Read a .dta file (Stata data)
theme
{GGPLOT2}
Set theme for GGPLOT2
element_text
{GGPLOT2}
Customise text in GGPLOT2
summary
{base}
Obtain summary statistics or detailed regression output
c
{base}
Combine values/vectors into a vector
geom_point
{GGPLOT2}
Generates a scatter plot
ylab
{GGPLOT2}
Label the y axis (ggplot)
seq
{base}
Create a sequence
The end!